<div class="topbar">
	<div class="logo">
		{$webname}<small>v1.0</small>
	</div>
	<div class="userfun">
		{if condition="$username neq ''"}
		<a href="/index.php/wypadmin"><span class="glyphicon glyphicon-home"></span>管理首页</a> | 
		<a href="/" target="_blank"><span class="glyphicon glyphicon-home"></span>系统首页</a> | 
			<a href="javascript:void(0);">操作员：<span class="glyphicon glyphicon-user"></span>{$username}</a> | 
			<a href="{:url('Login/logout')}">退出登录</a>
		{elseif condition="$username eq ''" /}
			<a href="/" target="_blank"><span class="glyphicon glyphicon-home"></span>后台首页</a>
		{/if}
	</div>
</div>
<div class="clear"></div>